home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / OpenDoc 1.2b2c1 / OpenDoc / Interfaces / IDL / WinMod.idl < prev    next >
Encoding:
Text File  |  1997-01-01  |  1.3 KB  |  64 lines  |  [TEXT/MPS ]

  1. //#    Copyright:    © 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  2.  
  3. #ifndef _WINMOD_
  4. #define _WINMOD_
  5.  
  6. #ifndef _ODTYPESM_
  7. #include "ODTypesM.idl"
  8. #endif
  9.  
  10. #ifndef _REFCTOBJ_
  11. #include "RefCtObj.idl"
  12. #endif
  13.  
  14. #ifdef _PLATFORM_MACINTOSH_
  15.  
  16. //=====================================================================================
  17. // Classes defined in this interface
  18. //=====================================================================================
  19.  
  20. interface  ODWindowModule;
  21.  
  22.  
  23. //=====================================================================================
  24. // ODWindowModule
  25. //=====================================================================================
  26.  
  27. interface ODWindowModule :  ODRefCntObject
  28. {
  29.     void InitWindowModule();
  30.  
  31.     void ShowWindow( in ODPlatformWindow window, in ODWindowLayer layer );
  32.  
  33.     void HideWindow( in ODPlatformWindow window );
  34.  
  35.     void SelectWindow( in ODPlatformWindow window );
  36.  
  37.     void DeactivateFrontWindows();
  38.  
  39.     void ActivateFrontWindows();
  40.  
  41. #ifdef __SOMIDL__
  42.     implementation
  43.     {
  44.         majorversion = 1; minorversion = 0;
  45.  
  46.           functionprefix = ODWindowModule;
  47.  
  48.         override:
  49.             somInit;
  50.  
  51.         releaseorder:
  52.             InitWindowModule,
  53.             ShowWindow,
  54.             HideWindow,
  55.             SelectWindow,
  56.             DeactivateFrontWindows,
  57.             ActivateFrontWindows;
  58.   };
  59. #endif //# __SOMIDL__
  60. };
  61.  
  62. #endif //# _PLATFORM_MACINTOSH_
  63. #endif // _WINMOD_
  64.